package com.ruoyi.biz.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName : WeChatMiniProgramLoginParam
 * @Description : 微信小程序登录入参
 */
@ApiModel(value = "小程序登录参数")
@Data
public class LoginParam {

    @ApiModelProperty(value = "微信code",example = "xxx",required = true)
    private String code;

    @ApiModelProperty(value = "加密数据，用户敏感信息",example = "xxx",required = true)
    private String encryptedData;

    @ApiModelProperty(value = "加密初始化向量",example = "xxx",required = true)
    private String iv;

    @ApiModelProperty(value = "version",example = "xiaomi12@android11",required = true)
    private String version;
    @ApiModelProperty(value = "入口",example = "默认入口portal/活动入口xxx等",required = true)
    private String entry;
    @ApiModelProperty(value = "客户端",example = "mini-program/h5/android/ios",required = true)
    private String client;
}